package com.example.designpatterns.structural.adapter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zuitu@foxmail.com
 * @date 2024/1/17
 */
@Component
public class DogToLionAdapterImpl implements Lion {
    @Autowired
    private Dog dog;

    @Override
    public void raor() {
        dog.bark();
    }
}
